package com.flea.hclv.service;

import com.flea.hclv.model.entity.HCar;
import com.flea.hclv.model.entity.HCarAgency;
import com.flea.hclv.model.entity.HCarAgencyItem;
import com.flea.hclv.util.ServerResponse;
import com.flea.system.bean.FleaPage;

import javax.servlet.http.HttpServletRequest;

public interface HCarAgencyService {
    ServerResponse<String> addAgency(HttpServletRequest request, String model) throws Exception;

    ServerResponse<FleaPage<HCarAgency>> selectAll(HttpServletRequest request, FleaPage<HCarAgency> paging);

    ServerResponse<FleaPage<HCar>> getRequireCars(HttpServletRequest request, FleaPage<HCar> paging, String model);

    ServerResponse<FleaPage<HCarAgencyItem>> getReserveCarItem(FleaPage<HCar> paging, String carAgencyId);

}
